POV-Ray : Newsgroups : povray.binaries.images : MegaPov camera_view not looking at look_at?? : MegaPov camera_view not looking at look_at?? Server Time
9 Aug 2024 03:26:27 EDT (-0400)
  MegaPov camera_view not looking at look_at??  
From: Greg M  Johnson
Date: 18 Mar 2005 17:41:24
Message: <423b5914$1@news.povray.org>
// I'm assuming the answer is that the camera_view
// might not use all camera features in same way as
// camera?  Or to accomplish my trick I need
// get used to not using some of the camera items.

#version unofficial MegaPov 1.10;
#declare bordery=0.015;

box{<0,0,0>+bordery*<1,1,0>,<image_width/image_height,1,0.1>/2-bordery*<1,1,0>
         pigment { camera_view{right x*image_height/image_width  location 
<-25,80,-120> look_at <-25,80,110>  angle 5} }
        translate 1*z }


box{<0,0,0>+bordery*<1,1,0>,<image_width/image_height,1,0.1>/2-bordery*<1,1,0>
         pigment { camera_view{right x*image_height/image_width  location 
<-25,80,-120> look_at <-25,80,110>  angle 10} }
        translate 1*z-<image_width/image_height,1,0.0>/2 }


box{<0,0,0>+bordery*<1,1,0>,<image_width/image_height,1,0.1>/2-bordery*<1,1,0>
         pigment { camera_view{right x*image_height/image_width  location 
<-25,80,-120> look_at <-25,80,110>  angle 15} }
        translate 1*z-<image_width/image_height,0,0.0>/2 }

box{<0,0,0>+bordery*<1,1,0>,<image_width/image_height,1,0.1>/2-bordery*<1,1,0>
         pigment { camera_view{right x*image_height/image_width  location 
<-25,80,-120> look_at <-25,80,110>  angle 20} }
         translate 1*z-<0,1,0.0>/2 }

sphere{<-25,80,110>,10 pigment{red 1} finish{ambient 4}}

plane{y,-10 pigment{checker rgb 1 rgb 0 scale 100} finish{ambient 4}}
background{rgb 1}

 camera {
    perspective
    location <0,0,0>
    direction <0,0,1>
    right image_width/image_height*x
    up y
    sky <0,1,0>
  }


Post a reply to this message


Attachments:
Download 'pigbug01.jpg' (37 KB)

Preview of image 'pigbug01.jpg'
pigbug01.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.